package com.ai.bitcoin.exception;

import lombok.Data;

/**
 * @description: ${description}
 * @author: gulj
 * @create: 2018-07-07 17:13
 **/
@Data
public class BussinessRuntimeException extends RuntimeException {


    private int code;

    private String msg;


    public BussinessRuntimeException() {

    }

    public BussinessRuntimeException(int code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public BussinessRuntimeException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
